projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa75d7f
)
gesture: Actually track targets
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 26 Feb 2020 22:06:15 +0000
(17:06 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 26 Feb 2020 22:06:15 +0000
(17:06 -0500)
Due to a mismerge, this wasn't actually working,
and was causing criticals from gtk_widget_has_grab
when dragging windows.
gtk/gtkgesture.c
patch
|
blob
|
history
diff --git
a/gtk/gtkgesture.c
b/gtk/gtkgesture.c
index 6ae37360114b5c2a19c96a19cb4df543ec9f4013..9783373343902c9bf161ad3964f3ccbc8e0f2a18 100644
(file)
--- a/
gtk/gtkgesture.c
+++ b/
gtk/gtkgesture.c
@@
-501,6
+501,7
@@
_gtk_gesture_update_point (GtkGesture *gesture,
gdk_event_unref (data->event);
data->event = gdk_event_ref ((GdkEvent *)event);
+ data->target = g_object_ref (target);
_update_touchpad_deltas (data);
data->widget_x = x + data->accum_dx;
data->widget_y = y + data->accum_dy;